package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel
@TableName("sub_canal_four_classify")
@EqualsAndHashCode(callSuper = true)
@Data
public class CanalFourClassify extends BaseEntity {

    @ApiModelProperty("四级分类ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("四级分类名称")
    @TableField("canal_four_classify_name")
    private String canalFourClassifyName;
    @ApiModelProperty("四级分类代码")
    @TableField("canal_four_classify_code")
    private String canalFourClassifyCode;
    @ApiModelProperty("三级分类代码")
    @TableField("canal_three_classify_code")
    private String canalThreeClassifyCode;
    @ApiModelProperty("二级分类代码")
    @TableField("canal_second_classify_code")
    private String canalSecondClassifyCode;
    @ApiModelProperty("一级分类代码")
    @TableField("canal_first_classify_code")
    private String canalFirstClassifyCode;
    @ApiModelProperty("备用")
    @TableField("canal_four_classify_type")
    private String canalFourClassifyType;

    public CanalFourClassify() {
    }

    public CanalFourClassify(Long id, String canalFourClassifyName, String canalFourClassifyCode, String canalThreeClassifyCode, String canalSecondClassifyCode, String canalFirstClassifyCode, String canalFourClassifyType) {
        this.id = id;
        this.canalFourClassifyName = canalFourClassifyName;
        this.canalFourClassifyCode = canalFourClassifyCode;
        this.canalThreeClassifyCode = canalThreeClassifyCode;
        this.canalSecondClassifyCode = canalSecondClassifyCode;
        this.canalFirstClassifyCode = canalFirstClassifyCode;
        this.canalFourClassifyType = canalFourClassifyType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCanalFourClassifyName() {
        return canalFourClassifyName;
    }

    public void setCanalFourClassifyName(String canalFourClassifyName) {
        this.canalFourClassifyName = canalFourClassifyName;
    }

    public String getCanalFourClassifyCode() {
        return canalFourClassifyCode;
    }

    public void setCanalFourClassifyCode(String canalFourClassifyCode) {
        this.canalFourClassifyCode = canalFourClassifyCode;
    }

    public String getCanalFourClassifyType() {
        return canalFourClassifyType;
    }

    public void setCanalFourClassifyType(String canalFourClassifyType) {
        this.canalFourClassifyType = canalFourClassifyType;
    }

    public String getCanalFirstClassifyCode() {
        return canalFirstClassifyCode;
    }

    public void setCanalFirstClassifyCode(String canalFirstClassifyCode) {
        this.canalFirstClassifyCode = canalFirstClassifyCode;
    }

    public String getCanalSecondClassifyCode() {
        return canalSecondClassifyCode;
    }

    public void setCanalSecondClassifyCode(String canalSecondClassifyCode) {
        this.canalSecondClassifyCode = canalSecondClassifyCode;
    }

    public String getCanalThreeClassifyCode() {
        return canalThreeClassifyCode;
    }

    public void setCanalThreeClassifyCode(String canalThreeClassifyCode) {
        this.canalThreeClassifyCode = canalThreeClassifyCode;
    }
}
